package com.example.cacheredis.service;

import com.example.cacheredis.pojo.Employee;

import java.util.List;

public interface EmployeeService {

    List<Employee> findAllEmployees();

    Employee findEmpById(Integer employeeId);

    List<Employee> findEmpByDeptId(Integer departmentId);

    Employee updateEmployee(Employee employee);

    Integer deleteEmpById(Integer employeeId);

    Employee findEmployeeByName(String employeeName);

    Employee findEmployeeByAddress(String address);
}
